<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="<%=basePath%>js/jquery.js"></script>
<script type="text/javascript" src="<%=basePath%>js/data/datastorage/createstorage.js"></script>
<style type="text/css">
	body{margin-left:100px;}
	#span1{
		color:	#CDAF95;font-size:20px;letter-spacing:6px;
	}
	.span2{
		font-weight: bold;
	}
	div{
		border:1px solid #EEDFCC;padding-left:10px;border-raduis:5px;font-size:14px; box-shadow:0 0 40px #EEDFCC; height:800px; width:100%;color:#8A8A8A
	}
	#dir{
		width:500px; height:500px; border: 1px solid #D4CD49; border-radius:5px;box-shadow:0 0 10px #0CC;  position:fixed;left:30%;top:30%;display:none;background-color:White 
	}
	#close{
	width:60px;height:20px; float:right;
	}
</style>
</head>
<body>
	<br/>
	<span id="span1">新建矢量数据源</span>
	<br/><br/>
	<div>
	添加一个新的矢量数据源
	<br><br>
	Shapefile
	<br>
	ESRI(tm) Shapefiles (*.shp)
	<br>
	<br>
	<span class="span2" >存储库的基本信息</span>
	<br>
	<hr style="height:3px;border:none;border-top:1px dashed #FFA54F;" />
	<!-- <span class="span2">工作区*</span>
	<br>
	<select id="workspaceName" style="border:1px solid 	#FFD39B;border-radius: 5px; height:20px;">
		<option>--动态创建--</option>
	</select> -->
	<br>
	<span class="span2">数据源名称 *</span>
	<br>
	<input type="text" style="border:1px solid 	#FFD39B; border-radius: 5px; height:25px; width:200px;"/>
	<br>
	<span class="span2">说明</span>
	<br>
	<input type="text" style="border:1px solid 	#FFD39B; border-radius: 5px; height:25px; width:200px;"/>
	<br>
	<input type="checkbox" value="启用" id="enable"/>启用
	<br>
	<br>
	<span class="span2">连接参数</span>
	<br>
	<hr style="height:3px;border:none;border-top:1px dashed #FFA54F;" />
	<span class="span2" style="font-weight: bold;">Shapefile文件的位置 *</span>
	<br>
	<input type="text" style="border:1px solid 	#FFD39B; border-radius: 5px; height:25px; width:200px;"/>&nbsp;&nbsp;<input type="button" id="liulan" style="background-color:#EEE8AA;border:1px solid #EEE8AA;border-radius:5px;height:30px;" value="浏览..."/>
	<div id="dir">
		shapefile文件位置<img id="close" alt="close" src="<%=basePath%>images/close.png">
		<%-- <iframe height="90%" width="98%" src="<%=basePath%>godirbrowse.do"></iframe> --%>
	</div> 
	<br>
	<span class="span2">DBF的字符集</span>
	<br>
	 <select class="text" id="charset" name="parametersPanel:charset:border:paramValue">
		<option value="0">Big5</option>
		<option value="1">Big5-HKSCS</option>
		<option value="2">CESU-8</option>
		<option value="3">EUC-JP</option>
		<option value="4">EUC-KR</option>
		<option value="5">GB18030</option>
		<option value="6">GB2312</option>
		<option value="7">GBK</option>
		<option value="8">IBM-Thai</option>
		<option value="9">IBM00858</option>
		<option value="10">IBM01140</option>
		<option value="11">IBM01141</option>
		<option value="12">IBM01142</option>
		<option value="13">IBM01143</option>
		<option value="14">IBM01144</option>
		<option value="15">IBM01145</option>
		<option value="16">IBM01146</option>
		<option value="17">IBM01147</option>
		<option value="18">IBM01148</option>
		<option value="19">IBM01149</option>
		<option value="20">IBM037</option>
		<option value="21">IBM1026</option>
		<option value="22">IBM1047</option>
		<option value="23">IBM273</option>
		<option value="24">IBM277</option>
		<option value="25">IBM278</option>
		<option value="26">IBM280</option>
		<option value="27">IBM284</option>
		<option value="28">IBM285</option>
		<option value="29">IBM290</option>
		<option value="30">IBM297</option>
		<option value="31">IBM420</option>
		<option value="32">IBM424</option>
		<option value="33">IBM437</option>
		<option value="34">IBM500</option>
		<option value="35">IBM775</option>
		<option value="36">IBM850</option>
		<option value="37">IBM852</option>
		<option value="38">IBM855</option>
		<option value="39">IBM857</option>
		<option value="40">IBM860</option>
		<option value="41">IBM861</option>
		<option value="42">IBM862</option>
		<option value="43">IBM863</option>
		<option value="44">IBM864</option>
		<option value="45">IBM865</option>
		<option value="46">IBM866</option>
		<option value="47">IBM868</option>
		<option value="48">IBM869</option>
		<option value="49">IBM870</option>
		<option value="50">IBM871</option>
		<option value="51">IBM918</option>
		<option value="52">ISO-2022-CN</option>
		<option value="53">ISO-2022-JP</option>
		<option value="54">ISO-2022-JP-2</option>
		<option value="55">ISO-2022-KR</option>
		<option selected="selected" value="56">ISO-8859-1</option>
		<option value="57">ISO-8859-13</option>
		<option value="58">ISO-8859-15</option>
		<option value="59">ISO-8859-2</option>
		<option value="60">ISO-8859-3</option>
		<option value="61">ISO-8859-4</option>
		<option value="62">ISO-8859-5</option>
		<option value="63">ISO-8859-6</option>
		<option value="64">ISO-8859-7</option>
		<option value="65">ISO-8859-8</option>
		<option value="66">ISO-8859-9</option>
		<option value="67">JIS_X0201</option>
		<option value="68">JIS_X0212-1990</option>
		<option value="69">KOI8-R</option>
		<option value="70">KOI8-U</option>
		<option value="71">Shift_JIS</option>
		<option value="72">TIS-620</option>
		<option value="73">US-ASCII</option>
		<option value="74">UTF-16</option>
		<option value="75">UTF-16BE</option>
		<option value="76">UTF-16LE</option>
		<option value="77">UTF-32</option>
		<option value="78">UTF-32BE</option>
		<option value="79">UTF-32LE</option>
		<option value="80">UTF-8</option>
		<option value="81">windows-1250</option>
		<option value="82">windows-1251</option>
		<option value="83">windows-1252</option>
		<option value="84">windows-1253</option>
		<option value="85">windows-1254</option>
		<option value="86">windows-1255</option>
		<option value="87">windows-1256</option>
		<option value="88">windows-1257</option>
		<option value="89">windows-1258</option>
		<option value="90">windows-31j</option>
		<option value="91">x-Big5-HKSCS-2001</option>
		<option value="92">x-Big5-Solaris</option>
		<option value="93">x-euc-jp-linux</option>
		<option value="94">x-EUC-TW</option>
		<option value="95">x-eucJP-Open</option>
		<option value="96">x-IBM1006</option>
		<option value="97">x-IBM1025</option>
		<option value="98">x-IBM1046</option>
		<option value="99">x-IBM1097</option>
		<option value="100">x-IBM1098</option>
		<option value="101">x-IBM1112</option>
		<option value="102">x-IBM1122</option>
		<option value="103">x-IBM1123</option>
		<option value="104">x-IBM1124</option>
		<option value="105">x-IBM1166</option>
		<option value="106">x-IBM1364</option>
		<option value="107">x-IBM1381</option>
		<option value="108">x-IBM1383</option>
		<option value="109">x-IBM300</option>
		<option value="110">x-IBM33722</option>
		<option value="111">x-IBM737</option>
		<option value="112">x-IBM833</option>
		<option value="113">x-IBM834</option>
		<option value="114">x-IBM856</option>
		<option value="115">x-IBM874</option>
		<option value="116">x-IBM875</option>
		<option value="117">x-IBM921</option>
		<option value="118">x-IBM922</option>
		<option value="119">x-IBM930</option>
		<option value="120">x-IBM933</option>
		<option value="121">x-IBM935</option>
		<option value="122">x-IBM937</option>
		<option value="123">x-IBM939</option>
		<option value="124">x-IBM942</option>
		<option value="125">x-IBM942C</option>
		<option value="126">x-IBM943</option>
		<option value="127">x-IBM943C</option>
		<option value="128">x-IBM948</option>
		<option value="129">x-IBM949</option>
		<option value="130">x-IBM949C</option>
		<option value="131">x-IBM950</option>
		<option value="132">x-IBM964</option>
		<option value="133">x-IBM970</option>
		<option value="134">x-ISCII91</option>
		<option value="135">x-ISO-2022-CN-CNS</option>
		<option value="136">x-ISO-2022-CN-GB</option>
		<option value="137">x-iso-8859-11</option>
		<option value="138">x-JIS0208</option>
		<option value="139">x-JISAutoDetect</option>
		<option value="140">x-Johab</option>
		<option value="141">x-MacArabic</option>
		<option value="142">x-MacCentralEurope</option>
		<option value="143">x-MacCroatian</option>
		<option value="144">x-MacCyrillic</option>
		<option value="145">x-MacDingbat</option>
		<option value="146">x-MacGreek</option>
		<option value="147">x-MacHebrew</option>
		<option value="148">x-MacIceland</option>
		<option value="149">x-MacRoman</option>
		<option value="150">x-MacRomania</option>
		<option value="151">x-MacSymbol</option>
		<option value="152">x-MacThai</option>
		<option value="153">x-MacTurkish</option>
		<option value="154">x-MacUkraine</option>
		<option value="155">x-MS932_0213</option>
		<option value="156">x-MS950-HKSCS</option>
		<option value="157">x-MS950-HKSCS-XP</option>
		<option value="158">x-mswin-936</option>
		<option value="159">x-PCK</option>
		<option value="160">x-SJIS_0213</option>
		<option value="161">x-UTF-16LE-BOM</option>
		<option value="162">X-UTF-32BE-BOM</option>
		<option value="163">X-UTF-32LE-BOM</option>
		<option value="164">x-windows-50220</option>
		<option value="165">x-windows-50221</option>
		<option value="166">x-windows-874</option>
		<option value="167">x-windows-949</option>
		<option value="168">x-windows-950</option>
		<option value="169">x-windows-iso2022jp</option>
	</select>
	<br>
	<br>
	<input type="button" id="save" style="font-weight: bold;background-color:#EEE8AA;border:1px solid #EEE8AA;border-radius:5px;height:30px;color:#8DB6CD"  value="保存"/>&nbsp;&nbsp;&nbsp;
	<a href="<%=basePath%>dataStorage.do">
	<input type="button" id="cancle" style="font-weight: bold;background-color:#EEE8AA;border:1px solid #EEE8AA;border-radius:5px;height:30px; color:#8DB6CD "  value="取消"/>
	</a>
	
	</div>
</body>
</html>